CXXFLAGS += -ID:/SDL2-2.30.3/x86_64-w64-mingw32/include
LDFLAGS += -LD:/SDL2-2.30.3/x86_64-w64-mingw32/lib

CXXFLAGS += -std=c++17

LDLIBS += -lSDL2

#LDLIBS += -mwindows

main.exe:main.o
	$(CXX) $^ -o $(basename $@) $(LDFLAGS) $(LDLIBS)

.PHONY: run clean

run: main.exe
	$<

clean:
	$(RM) *.exe *.o